<div data-ng-init="initFindSearch('find',
    {url:'/stall/MapServer',
    selectFields:['BIAN_HAO','MING_CHENG'],
    searchLayerIds:[0,1],
    searchNames:['find_0','find_1']});
    initBaseSearch('find_0',{pageSize:7,infoTemplateTitle:'山体资源详情',infoTemplateContent:'find_temp_0',pageSize:7,infoWindowWidth:340,
    infoWindowHeiht:240});
    initBaseSearch('find_1',{pageSize:7,infoTemplateTitle:'山体名录详情',infoTemplateContent:'find_temp_1',pageSize:7,infoWindowWidth:340,
    infoWindowHeiht:240});
    ">

    <div id="find_temp_0" style="display:none">
        <b>区: </b>~{QU}<br/>
        <b>山体编号: </b>~{BIAN_HAO}<br/>
        <b>山体名称: </b>~{MING_CHENG}<br/>
        <b>植被覆盖类型: </b>~{ZBFGLX}<br/>
        <b>山体保护类别: </b>~{BHLB}<br/>
        <b>保护级别: </b>~{BHJB}<br/>
        <b>山体利用现状: </b>~{LYXZ}<br/>
        <b>利用方向: </b>~{LYFX}<br/>
        <b>保护面积: </b>~{BHMJ}<br/>
        <b>山体区位类型: </b>~{STQWLX}<br/>
        <b>管控措施: </b>~{GKCS}<br/>
        <b>备注: </b>~{BEI_ZHU}<br/>
    </div>

    <div id="find_temp_1" style="display:none">
        <b>山体编号: </b>~{BIAN_HAO}<br/>
        <b>山体名称: </b>~{MING_CHENG}<br/>
        <b>最低海拔: </b>~{ZUI_DI_HB}<br/>
        <b>最高海拔: </b>~{ZUI_GAO_HB}<br/>
        <b>地貌: </b>~{DI_MAO}<br/>
        <b>成土母岩: </b>~{MU_YAN}<br/>
        <b>山体保护类别: </b>~{BHLB}<br/>
        <b>山体面积: </b>~{MIAN_JI}<br/>
        <b>山体周长: </b>~{ZHOU_CHANG}<br/>
        <b>备注: </b>~{BEI_ZHU}<br/>
    </div>
    
    <div class="search" ng-show="searchOpen">
        <h4 class="title">关键字查询</h4>
        <div class="zs-form-tab">
            <table width="100%">
                <tbody>
                    <tr>
                        <td class="right" width="28%">关键字</td>
                        <td>
                            <input class="zs-input" type="text" 
                                ng-model='gisObject.find.searchText'>
                        </td>
                    </tr>
                    <tr>
                        <td class="center" colspan="2">
                            <input type="button" name="ok" value="查询" class="zs-btn" 
                                ng-click="findSearch('find') && setSearchOpen(false);">
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>
    <div class="result ng-hide" ng-show="!searchOpen">
        <a class="back" ng-click="clearSearchResultEx('find');setSearchOpen(true);">返回</a>

        <div class="zs-itab" data-ng-init="iniTab('find', 'find_0', 'selected');">
            <div class="zs-itab-title">
                <ul class="idTabs">
                    <li ng-show="gisObject.find_0.rowCount>0">
                        <a ng-click="setTab('find', 'find_0');setGisPageIndex('find_0',1);" 
                        class="{{tabs['find'].tabClass['find_0']}}">山体资源</a>
                    </li>
                    <li ng-show="gisObject.find_1.rowCount>0">
                        <a ng-click="setTab('find', 'find_1');setGisPageIndex('find_1',1);" 
                        class="{{tabs['find'].tabClass['find_1']}}">山体名录</a>
                    </li>
                </ul>
            </div>
        </div>

        <ul class="list" ng-show="tabs['find'].tabShow['find_0']">
            <li class="item" ng-repeat="result in gisObject.find_0.pageList"
                ng-mousemove="highFeatureSelectGraphic(result.attributes._guid);" 
                ng-mouseleave="featureSelectGraphic(result.attributes._guid);">
                <p><a ng-click="showInfoWindow(result.attributes._guid);">
                    {{result.attributes['MING_CHENG']}}（{{result.attributes['BIAN_HAO']}}）
                </a></p>
                <p>
                    保护类别:{{result.attributes['BHLB']}}
                    保护级别:{{result.attributes['BHJB']}}
                </p>
                <p>
                    利用现状:{{result.attributes['LYXZ']}} 利用方向:{{result.attributes['LYFX']}} 
                    <a ng-click="setGraphicExtent(result.attributes._guid)">【定位】</a>
                </p>
            </li>
        </ul>
        <ag-Gis-Page ng-show="tabs['find'].tabShow['find_0']" fn='find_0'></ag-Gis-Page>

        <ul class="list" ng-show="tabs['find'].tabShow['find_1']">
            <li class="item" ng-repeat="result in gisObject.find_1.pageList"
                ng-mousemove="highFeatureSelectGraphic(result.attributes._guid);" 
                ng-mouseleave="featureSelectGraphic(result.attributes._guid);">
                <p><a ng-click="showInfoWindow(result.attributes._guid);">
                    {{result.attributes['MING_CHENG']}}（{{result.attributes['BIAN_HAO']}}）
                </a></p>
                <p>
                    海拨:{{result.attributes['ZUI_DI_HB']}} - {{result.attributes['ZUI_GAO_HB']}}
                    面积:{{result.attributes['MIAN_JI']}} 周长:{{result.attributes['ZHOU_CHANG']}}
                </p>
                <p>
                    保护类别:{{result.attributes['BHLB']}} <a ng-click="setGraphicExtent(result.attributes._guid)">【定位】</a>
                </p>
            </li>
        </ul>
        <ag-Gis-Page ng-show="tabs['find'].tabShow['find_1']" fn='find_1'></ag-Gis-Page>

    </div>
</div>